package com.ffapp.rainmonitorcustom.bean;

import android.text.TextUtils;

public class PatrolCheckDetailBean extends BasisBean {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * RECORDNO : 0000001
	 * STATUS : 03
	 * EXPLAIN : 有损坏
	 * TIMELIMIT : 2018/04/07
	 * PROJECTNO : 350203
	 * RANK : 01
	 * ID : 8DB0CEAC1AF54980A687E71392D67489
	 * OPERATIONMAN : 管理员
	 * OPERATIONTIME : 2018-03-07 11:15:21
	 */

	private String RECORDNO;
	private String STATUS;
	private String EXPLAIN;
	private String TIMELIMIT;
	private String PROJECTNO;
	private String RANK;
	private String ID;
	private String OPERATIONMAN;
	private String OPERATIONTIME;

	public String getRECORDNO() {
		return RECORDNO;
	}

	public void setRECORDNO(String RECORDNO) {
		this.RECORDNO = RECORDNO;
	}

	public String getSTATUS() {
		return STATUS;
	}

	public void setSTATUS(String STATUS) {
		this.STATUS = STATUS;
	}

	public String getSTATUSStr(){
		return  PatrolRectifyListData.getSTATUSStr(STATUS);
	}

	public String getEXPLAIN() {
		return EXPLAIN;
	}

	public void setEXPLAIN(String EXPLAIN) {
		this.EXPLAIN = EXPLAIN;
	}

	public String getTIMELIMIT() {
		return TIMELIMIT;
	}

	public void setTIMELIMIT(String TIMELIMIT) {
		this.TIMELIMIT = TIMELIMIT;
	}

	public String getPROJECTNO() {
		return PROJECTNO;
	}

	public void setPROJECTNO(String PROJECTNO) {
		this.PROJECTNO = PROJECTNO;
	}

	public String getRANK() {
		return RANK;
	}

	public String getRANKStr() {
		if(TextUtils.isEmpty(RANK))	return "未定级";
		switch (RANK){
			case "01":
				return "一般隐患";
			case "02":
				return "重要隐患";
			case "03":
				return "危险隐患";
			case "04":
				return "未定级";

		}
		return RANK;
	}


	public void setRANK(String RANK) {
		this.RANK = RANK;
	}

	public String getID() {
		return ID;
	}

	public void setID(String ID) {
		this.ID = ID;
	}

	public String getOPERATIONMAN() {
		return OPERATIONMAN;
	}

	public void setOPERATIONMAN(String OPERATIONMAN) {
		this.OPERATIONMAN = OPERATIONMAN;
	}

	public String getOPERATIONTIME() {
		return OPERATIONTIME;
	}

	public void setOPERATIONTIME(String OPERATIONTIME) {
		this.OPERATIONTIME = OPERATIONTIME;
	}

}
